<div class="modal-header" ui-draggable="" ui-draggable-config="{target: '.modal'}">
    <a href="javascript:void(0)" class="close" ng-click="close()"><span class="icon-remove"></span></a>
    <h5>{{title}}</h5>
</div>
<div class="modal-body">
    <input  type="text" class="span4" ng-model='name' style="margin-bottom:0px;" placeholder="{{placeholder}}" ui-keydown="{13:'save(name)'}"/>
</div>
<div class="modal-footer">
    <button type="button" class="btn" ng-click="close()">关闭</button>
    <button class="btn btn-primary" ng-click="save(name)">确定</button>
</div>